<h1>Tabs</h1>

<div class="desc">Actions to manipulate tabs. To add tabs, you must set at least one (no more than five) in
the Setting.plist file.</div>

<script>
lg.tabs.show();

//Load contacts page using the Tab button
var b = 0;
function tabBadge() {
	//Increment badge number on the second tab
	b++;
	lg.tabs.badge(2, b);
}
</script>

<a class="button" href="javascript:tabBadge()">Add Badge</a>